import cv2
import matplotlib.pyplot as plt
import numpy as np
from numba import uint8

def cv_show(name,img):
    cv2.imshow(name,img)
    cv2.waitKey(0)
    cv2.destroyAllWindows()

img = cv2.imread('C:/Users/nic/Desktop/opencv/picture/girl.jpg',cv2.IMREAD_GRAYSCALE)

v1 = cv2.Canny(img,130,150)
v2 = cv2.Canny(img,80,150)
v3 = cv2.Canny(img,20,150)

res = np.hstack((v1,v2,v3))
cv_show('all',res)


